//
//  AppDelegate.m
//  translateAi
//
//  Created by 陈镇 on 2023/5/5.
//

#import "AppDelegate.h"
#import "GTMianChatListVC.h"
#import "SLNavigationController.h"
#import "CZKeyChainHandle.h"
#import "SLUserInfoModel.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [self config];
    
    
    self.window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
    self.window.backgroundColor = UIColorWhite;
    
    GTMianChatListVC *vc = [[GTMianChatListVC alloc] init];
    SLNavigationController *nav = [[SLNavigationController alloc] initWithRootViewController:vc];
    self.window.rootViewController = nav;
    [self.window makeKeyAndVisible];
    
    [self config];

    return YES;
}
-(void)config{
    
    
    
    [CZKeyChainHandle UUID];
    [SLUserInfoModel shareManage];
}

@end
